/**
 * 新闻中心子路由
 */
import NewsHome from '@/views/News/NewsHome'
import NewsDetail from '@/views/News/NewsDetail/NewsDetail'
import NewsList from '@/views/News/NewsList/NewsList'
import News from '@/views/News/News1/News'
import OfferDetail from '@/views/News/OfferDetail/OfferDetail'
import OfferList from '@/views/News/OfferList/OfferList'

export default {
  path: '/newsHome',
  name: 'newsHome',
  component: NewsHome,
  children: [
    {
      path: 'news',
      name: 'news',
      component: News
    },
    {
      path: 'news-detail',
      name: 'newsDetail',
      component: NewsDetail
    },
    {
      path: 'news-list',
      name: 'newsList',
      component: NewsList
    },
    {
      path: '/offer-detail',
      name:'offerDetail',
      component : OfferDetail
    },
    {
      path: '/offer-list',
      name:'offerList',
      component : OfferList
    },
  ]
}